/*
 * @Author: your name
 * @Date: 2021-02-20 15:45:24
 * @LastEditTime: 2021-02-20 15:50:11
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \hm63-hmtt-wsh\src\utils\local.js
 */

//  获取
function getLocal (key) {
  return window.localStorage.getItem(key)
}

// 设置
function setLocal (key, val) {
  return window.localStorage.setItem(key, val)
}

// 删除
function removeLocal (key) {
  return window.localStorage.removeItem(key)
}

export { getLocal, setLocal, removeLocal }
